|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jade.content.ContentManager
The content manager associated with an agent.
| Constructor Summary | |
ContentManager()
|
|
| Method Summary | |
AbsContentElement |
extractAbsContent(ACLMessage msg)
Extracts an abstract descriptor of the content from a message. |
ContentElement |
extractContent(ACLMessage msg)
Retrieves the content of a message as a concrete object. |
void |
fillContent(ACLMessage msg,
AbsContentElement content)
Fills the content of a message. |
void |
fillContent(ACLMessage msg,
ContentElement content)
Fills the content of a message. |
void |
registerLanguage(Codec c)
Registers a codec c. |
void |
registerLanguage(Codec c,
java.lang.String name)
Registers a language, i.e., a codec c plus
a name. |
void |
registerOntology(Ontology o)
Registers an ontology. |
void |
registerOntology(Ontology o,
java.lang.String name)
Registers an ontology with a given name. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ContentManager()
| Method Detail |
public void registerLanguage(Codec c)
c.c - the codec.
public void registerLanguage(Codec c,
java.lang.String name)
c plus
a name.c - the codec.name - the name.public void registerOntology(Ontology o)
o - the ontology.
public void registerOntology(Ontology o,
java.lang.String name)
name.o - the ontology.name - the name.
public void fillContent(ACLMessage msg,
AbsContentElement content)
throws Codec.CodecException,
OntologyException
msg - the messagecontent - the content.
public AbsContentElement extractAbsContent(ACLMessage msg)
throws Codec.CodecException,
OntologyException
msg - the messagejade.content.Ontology
public void fillContent(ACLMessage msg,
ContentElement content)
throws Codec.CodecException,
OntologyException
msg - the messagecontent - the content.
public ContentElement extractContent(ACLMessage msg)
throws Codec.CodecException,
OntologyException
msg - the messagejade.content.Ontology
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||